package com.example.bootDemo.mapper;


import com.example.bootDemo.dto.UserDto;
import com.example.bootDemo.vo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 创建Service类
 *
 * @author zys20
 */
@Mapper
@Repository
public interface UserMapper {

    /**
     * @param dto
     * @Description 根据条件查询用户信息列表
     */
    List<User> list(@Param("dto") UserDto dto);

}
